﻿<!DOCTYPE html>
<!--运行情况综合信息板-->
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
        <script src="/static/js/common.js"></script>

    <script src="/static/js/echarts2.0.js"></script>
    <link href="/static/css/style.css" rel="stylesheet">
    <style>
        #app {
            height: auto;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak class="popupW50 pad15">
        <el-col :span="24" class="tex_cen">
            <div class="new_title"><strong><img src="/static/images/icon1.png" />选择工厂</strong></div>
            <!-- new_title -->
            <div class="map_box">
                <a href="#" class="map_qb map_qb1 absp1"><img src="/static/images/pic1.jpg" alt="" @click='myclick("85a65e19-182e-4306-8328-221b694d2007","山东圣奥","map/SanDongShengAoMap.html")'><span>山东圣奥</span></a>
                <a href="#" class="map_qb map_qb2 absp2"><img src="/static/images/pic2.jpg" alt="" @click='myclick("439c014-74ac-40c5-abd7-a3a668118715","泰安工厂","map/huayangmap.html")'><span>泰安圣奥</span></a>
                <a href="#" class="map_qb map_qb3 absp3"><img src="/static/images/pic3.jpg" alt="" @click='myclick("5040afb0-c38e-463b-953c-8605091be001","铜陵工厂","map/TonglingMap.html")'><span>安徽圣奥</span></a>
            </div>

        </el-col>
        <el-dialog title="Echart" :visible.sync="ListItem.dialogVisible" @close='closeDialog' width="80%" height="80%"
            top="10vh">
            <iframe ref="iframe" :src="ListItem.InputUrl" style="height:95%;width:100%" frameborder="0"></iframe>
        </el-dialog>
    </div>
    <script type="text/javascript">
        app = new Vue({
            el: '#app',
            data: {
                id: '0',
            },
            methods:{
                myclick:function(id,name,url){
                    console.log(parent.app.mainTabs)
                    // parent.app.mainTabs.push(
                    //     {id:'5040afb0-c38e-463b-953c-8605091be009',name:'铜陵工厂',url:'map/TonglingMap.html',context:'<iframe ref="iframe" src="/OperationBoard/map.html" class="tab-iframe" :style="iframeheight"frameborder="0"></iframe>'}
                    // )
                    parent.app.dotest(id,name,url)
                }
            }
        });
    </script>
</body>

</html>